@charset "utf-8";
body,
div,
dl,
dt,
dd,
ul,
ol,
li,
h1,
h2,
h3,
h4,
h5,
h6,
pre,
form,
fieldset,
input,
p,
blockquote,
th,
td {
    margin:0;
    padding:0;
}
body {
    font-size:12px;
    color:#333;
    font-family: "Microsoft YaHei","Microsoft YaHei UI";
    background: #fff;
}
a,.btn-link{
    cursor: pointer;
    &:link,
    &:visited,
    &:hover,
    &:active{
        // color: initial;  //最初的
        // color: inherit;   //继承
        text-decoration: none;
    }
}
textarea{
    resize: none;
}
// ul,ol{
//     list-style: none;
// }
img{
    border: 0;
    // max-width: 100%;
    // max-height: 100%;
}
.form-control,
.form-control:focus{
    outline: none;
    box-shadow: unset;
}
select.form-control{
    min-width: 120px;
}

//  end of init
@mixin radius($wid){
    width: $wid;
    height: $wid;
}
$btnBgColor: #1976d2;
$totalColor: #45a2ff;
$borderColor: #eee;
.content-wrap{
    & > .media-left{
        padding: 0;
        background-color: #192c86;

    }
    &>.media-body{
        background-color: #f8f9fb;
    }
    .left-wrap{
        position: relative;
        width: 200px;
        height: 100vh;
        transition: width 0.2s;
        overflow-x: hidden;
        overflow-y: auto;
        &.action{
            width: 84px;
            .logo-wrap{
                margin-left: 18px;
                .txt{
                    display: none;
                }
            }
            .info-wrap{
                // visibility: hidden;
                img{
                    margin-top: 30px;
                    // @include radius(40px);
                    transform: scale(0.4,0.4);
                }
                p{
                    visibility: hidden;
                }
            }
            .nav-wrap{
                & > li{
                    a,.btn-link{
                        &.right-icon{
                            &::after{
                                content: none;
                            }
                        }
                        .txt{
                            display: none;
                        }
                        &:hover{
                            background: unset;
                        }
                    }
                }
            }
            &:hover{
                width: 200px;
                .logo-wrap{
                    margin-left: 24px;
                    .txt{
                        display: unset;
                    }
                }
                .info-wrap{
                    img{
                        margin-top: 0;
                        transform: scale(1,1);
                        transition: transform 0.4s;
                    }
                    p{
                        visibility: visible;
                    }
                }
                .nav-wrap{
                    & > li{
                        a,.btn-link{
                            &.right-icon{
                                &::after{
                                    content: '';
                                }
                            }
                            .txt{
                                display: unset;
                            }
                            &:hover{
                                background: inherit;
                            }
                        }
                    }
                }
                .exit-wrap{
                    .btn-link{
                        white-space: nowrap;
                        .txt{
                            display: unset;
                        }
                    }
                }
            }
            .exit-wrap{
                .btn-link{
                    .txt{
                        display: none;
                    }
                }
            }
        }
        .logo-wrap{
            margin: 32px 0 0 24px;
            color: #fff;
            font-size: 20px;
            white-space: nowrap;
            img{
                width: 47px;
                height: 30px;
                vertical-align: bottom;
            }
        }
        .info-wrap{
            margin-top: 50px;
            text-align: center;
            color: #fff;
            .head-img{
                height: 84px;
                margin-bottom: 10px;
            }
            img{
                @include radius(84px);
            }
        }
        .nav-wrap{
            margin-top: 50px;
            margin-bottom: 80px;
            & > li{
                margin-bottom: 20px;
                a,.btn-link{
                    $hei: 60px;

                    position: relative;
                    padding-left: 62px;
                    height: $hei;
                    line-height: $hei;
                    display: block;
                    color: #a9aad8;
                    font-size: 14px;
                    white-space: nowrap;
                    .icon{
                        position: absolute;
                        left: 28px;
                        top: $hei/2-12px;
                        width: 22px;
                        height: 20px;
                        display: block;
                        background: transparent url(../img/platform.png) no-repeat;
                        &.icon-index{
                            top: $hei/2-12px-2px;
                            height: 22px;
                            background-position: 0 0;
                        }
                        &.icon-user{
                            top: $hei/2-12px-4px;
                            width: 20px;
                            height: 24px;
                            background-position: 0 -44px;
                        }
                        &.icon-pcom{
                            @extend .icon-user;
                            background-position: -44px 0;
                        }
                        &.icon-fcom{
                            top: $hei/2-12px+2px;
                            width: 25px;
                            height: 18px;
                            background-position: -40px -44px;
                        }
                        &.icon-area{
                            @extend .icon-index;
                            background-position: 0 -22px;
                        }
                    }
                    &.right-icon{
                        &::after{
                            content: '';
                            position: absolute;
                            right: 26px;
                            top: $hei/2 - 8px;
                            width: 8px;
                            height: 16px;
                            display: block;
                            background: transparent url(../img/platform.png) no-repeat;
                            background-position: -84px -18px;
                        }
                    }

                    &.active,
                    &:hover{
                        background: linear-gradient(to right,#3a488f,transparent);
                        color: #fff;
                        .icon{
                            &.icon-index{
                                background-position: -22px -22px;
                            }
                            &.icon-user{
                                background-position: -20px -44px;
                            }
                            &.icon-pcom{
                                background-position: -64px 0;
                            }
                            &.icon-fcom{
                                background-position: -84px 0;
                            }
                            &.icon-area{
                                background-position: -22px 0;
                            }
                        }
                        &.right-icon{
                            &::after{
                                background-position: -92px -18px;
                            }
                        }
                    }
                }
            }
        }
        .exit-wrap{
            margin: 10px auto 40px;
            .btn-link{
                color: #fff;
                .icon{
                    width: 19px;
                    height: 25px;
                    margin-right: 6px;
                    display: inline-block;
                    vertical-align: text-bottom;
                    background: transparent url(../img/platform.png) no-repeat 0 -68px;
                }
            }
        }
    }
}

//  end of left-wrap

.table-wrap{
    .table{
        thead{
            tr{
                background-color: #f5f5f5;
                th{
                    border: 0;
                    text-align: center;
                    font-family: 600;
                    color: #333;
                }
            }
        }
        tbody{
            tr{
                border-bottom: 1px solid #dddd;
                td{
                    border: 0;
                    text-align: center;
                    .btn-link{
                        color: $totalColor;
                        & ~ .btn-link{
                            margin-left: 4px;
                        }
                    }
                }
            }
        }
    }
}

.pagination-wrap{
    margin: 18px 30px;
    .pagination{
        margin: 0 30px;
        & > li{
            a{
                border-radius: 0;
                background-color: transparent;
                border: 0;
                color: #333;
                &.active,
                &:hover{
                    background-color: $btnBgColor;
                    color: #fff;
                }
                &.disabled{
                    cursor: not-allowed;
                }
            }
        }
    }
    .txt{
        margin-top: 6px;
    }
}

.wrapper{
    margin-left: 30px;
    .search-wrap{
        margin-top: 24px;
        .title{
            display: inline-block;
            vertical-align: middle;
            font-size: 20px;
            color: #333;
        }
        .form-control{
            border-radius: 0;
        }
        input.form-control,.btn{
            border: 0;
        }
        .form-control,
        .form-group,
        label{
            margin: 0 6px;
        }
        .btn{
            min-width: 120px;
            border-radius: 2px;
            margin-left: 10px;
            &.pull-right{
                margin-right: 20px;
            }
        }
        .btn-primary{
            background-color: $btnBgColor;
        }
    }
    .area-wrap{
        padding: 10px 14px;
        background-color: #fff;
        .media-left{
            .txt{
                margin-top: 2px;
                display: block;
                white-space: nowrap;
                color: #777;
            }
        }
        .media-body{
            .list-inline{
                & ~ .list-inline{
                    margin-top: 4px;
                }
                & > li{
                    a{
                        padding: 2px 4px;
                        display: block;
                        color: #333;
                        background-color: transparent;
                        &.disabled{
                            color: #777;
                        }
                        &:hover,.active{
                            color: #fff;
                            background-color: $totalColor;
                        }
                    }
                }
            }
        }
    }
}

.show-info-box{
    margin: 30px 0 14px;
    $pl: 50px;
    $rd: 10px;
    .box{
        height: 130px;
        padding-right: $pl;
        border-radius: $rd;
        background-color: #fff;
        display: flex;
        justify-content: center;
        & ~ .box{
            margin-left: $pl;
        }
        &.icon-box{
            $wid: 30px;
            position: relative;
            padding-left: $wid;
            // border-radius: 0 $rd $rd 0;
            &::before{
                content: '';
                position: absolute;
                left: 0;
                top: 0;
                width: $wid;
                height: 100%;
                border-radius: $rd 0 0 $rd;
                display: block;
                background-color: #fff;
            }
            &.icon-box-b{
                &::before{
                    background-color: #7ecdf4;
                }
            }
            &.icon-box-g{
                &::before{
                    background-color: #facd89;
                }
            }
        }
        .user-img{
            @include radius(84px);
            vertical-align: middle;
            margin-left: 36px;
        }
        .txt-box{
            margin-left: $pl;
            padding-top: 20px;
            .txt{
                margin-bottom: 4px;
                color: #333;
                font-size: 14px;
            }
        }
        .icon-money{
            margin-left: 50px;
            font-size: 14px;
            &::before{
                content: '';
                margin-right: 6px;
                width: 27px;
                height: 25px;
                display: inline-block;
                vertical-align: text-bottom;
                background: url(../img/platform.png) no-repeat -109px 0;
            }
        }
        .txt-big{
            margin-left: 14px;
            font-size: 20px;
            color: #333;
        }
        .self-box{
            align-self: center;
        }
    }
}


.main-wrapper{
    margin-top: 20px;
    padding: 1px;
    background-color: #fff;
    .table-wrap{
        margin: 20px 16px;
    }
}
.wrappper{
    margin: 20px;
}

.tabs{
    border-bottom: 1px solid $borderColor;
    padding: 14px 0;
    .list-inline{
        margin-left: 50px;
        & > li{
            margin-right: 16px;
            .btn-link{
                color: #b2b3b5;
                font-size: 14px;
            }
            &.active{
                .btn-link{
                    color: $btnBgColor;
                    font-weight: 600;
                }
            }
        }
    }
    // & ~ .tab-content{
    //     margin-top: 20px;
    //     padding: 0 20px;
    // }
}
@keyframes tc{
    0%{
        transform: scale(0,0);
    }
    100% {
        transform: scale(1,1);
    }
}
.fixed-wrap{
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    overflow: auto;
    background-color: rgba(0,0,0,0.4);
    &.hide{
        animation: none;
    }
    .scroll-box{
        position: relative;
        width: 420px;
        height: auto;
        padding: 20px 0;
        margin: 160px auto;
        border-radius: 8px;
        background-color: #f8f8f8;
        animation: tc 0.3s linear forwards;
        .clear{
            position: absolute;
            right: 6px;
            top: 6px;
            @include radius(26px);
            display: block;
            color: #bebebe;
            background-color: #fff;
            text-align: center;
            font-style: normal;
            font-size: 16px;
            line-height: 23px;
            cursor: pointer;
            transition: all 0.4s linear;
            &:hover{
                background-color: $totalColor;
                color: #fff;
            }
        }
        .title{
            margin: 12px auto 26px;
            font-size: 20px;
        }
        .form-control{
            border: 1px solid #e6e6e6;
        }
        .btns-wrap{
            margin: 30px 30px 10px;
            padding-left: 26px;
            .btn{
                width: 140px;
                border: 0;
            }
            .btn-default{
                color: #fff;
                background-color: #a0a0a0;
            }
            .btn-primary{
                background-color: $btnBgColor;
            }
        }
    }
}


.dheader{
    height: 60px;
    margin-left: -30px;
    background-color: #fff;
    .title{
        margin-left: 48px;
        font-size: 24px;
        color: #a4a2a3;
        line-height: 60px;
    }
    .pull-right{
        margin-right: 24px;
    }
    .icon-msg{
        line-height: 60px;
    }
    .user-head{
        margin: 8px 0 0 14px;
        cursor: pointer;
        &::after{
            content: '';
            margin: 0 8px;
            // border-top: 8px solid #ddd;
            // border-left: 6px solid transparent;
            // border-right: 6px solid transparent;
            @include radius(8px);
            border-left: 1px solid #ddd;
            border-bottom: 1px solid #ddd;
            transform: rotate(-44deg);
            display: inline-block;
        }
        img{
            @include radius(42px);
        }
    }
}
.dlists{
    & > li{
        float: left;
        width: 32%;
        height: 300px;
        display: flex;
        justify-content: center;
        background-color: #fff;
        & ~ li{
            margin-left: 2%;
        }
        .box{
            align-self: center;
            text-align: center;
            img{
                @include radius(52px);
            }
            .num{
                margin: 10px auto;
                font-size: 20px;
                color: #333;
            }
        }
        canvas{
            @include radius(200px);
            // transform: scale(1.1);
        }
    }
}
.dbox{
    margin-top: 20px;
    .box{
        height: 496px;
        float: left;
        background-color: #fff;
    }
    .box1{
        width: 66%;
        float: left;
        background-color: #fff;
        .mainbox{
            height: 400px;
            margin-top: 30px;
        }
    }
    .box2{
        width: 32%;
        margin-left: 2%;
        float: left;
        background-color: #fff;
        .progress{
            margin: 20px;
            height: 12px;
            border-radius: 50px;
            .progress-bar{
                border-radius: 50px;
            }
        }
    }
}